package com.qizhou.compiler.enitity

import com.qizhou.compiler.aptUtils.types.packageName
import com.qizhou.compiler.aptUtils.types.simpleName
import com.squareup.kotlinpoet.asTypeName
import java.util.*
import javax.lang.model.element.ExecutableElement
import javax.lang.model.element.Modifier
import javax.lang.model.element.TypeElement

/**
 * Reposity类
 */
class ReposityClass(val typeElement: TypeElement) {

    val simpleName = typeElement.simpleName()
    val serviceType = typeElement.asType().asTypeName()
    val packageName = typeElement.packageName()
    val fields = LinkedList<ReposityMothed>()
    val isAbstract = typeElement.modifiers.contains(Modifier.ABSTRACT)

}